import request from "@/utils/request";

export function getToken() {
  return request({
    url: `/web/common/qiniuInfo`,
    method: "get"
  });
}

export function upload(data) {
  return request({
    method: "post",
    url: `/web/common/uploadFile`,
    data
  });
}